import com.magenta.maxoptra.gis.GeographicCoordinates;

/**
 * Created by skolznev on 25.03.14.
 */
public class Coordinate implements GeographicCoordinates {
    double latitude;
    double longitude;

    public Coordinate(double latitude, double longitude) {
        this.latitude = latitude;
        this.longitude = longitude;
    }


    @Override
    public double getLatitude() {
        return latitude;
    }

    @Override
    public double getLongitude() {
        return longitude;
    }

    @Override
    public int getLatitudeInteger() {
        return (int) latitude;
    }

    @Override
    public int getLongitudeInteger() {
        return (int) longitude;
    }
}
